package edu.sctu.practice.chengongsuo;

/**
 * Created by Administrator on 2015/10/22.
 */
public class Son extends Father {

    public Son() {
        System.out.println("This is son constructor.");
    }

    public void study(){


        super.eat();
        eat();
    }


    @Override //注解
    public void eat(){

        System.out.println("Son: eat beaf.");
    }
}
